package br.usp.pcs.poli.lti.iToo.tutor.model;

import br.usp.pcs.poli.lti.iToo.model.ClassModel;
import ilm.framework.assignment.model.DomainObject;

public class ClassDomainObject extends DomainObject {

	private ClassModel _class;
	
	public ClassDomainObject(String name, String description, ClassModel model) {
		super(name, description);
		_class = model;
	}

	public ClassModel get_Class()
	{
		return _class;
	}
	
	@Override
	public boolean equals(DomainObject o) {
		return _class.equals(((ClassDomainObject)o).get_Class());
	}

}
